package com.xinsoft.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;



/**
 * 客户表
 *
 * @author ev-monitor
 * @email 286600136@qq.com
 * @date 2019-09-03 11:11:37
 */
@Data
@ApiModel(value = "客户表")
public class ClientDto implements Serializable {
	private static final long serialVersionUID = 1L;

	//
	@ApiModelProperty(value = "")
	private Long id;
	//客户编号
	@ApiModelProperty(value = "客户编号")
	private String code;
	//客户名称
	@ApiModelProperty(value = "客户名称")
	private String name;
	//客户类型
	@ApiModelProperty(value = "客户类型")
	private Long type;
	//电话
	@ApiModelProperty(value = "电话")
	private String phone;
	//传真
	@ApiModelProperty(value = "传真")
	private String fax;
	//地址
	@ApiModelProperty(value = "地址")
	private String address;
	//法人代表
	@ApiModelProperty(value = "法人代表")
	private String legalperson;
	//公司介绍
	@ApiModelProperty(value = "公司介绍")
	private String desc;
	//
	@ApiModelProperty(value = "")
	private Long providerId;
	//创建人
	@ApiModelProperty(value = "创建人")
	private Long createBy;
	//创建时间
	@ApiModelProperty(value = "创建时间")
	private Date createTime;
	//修改人
	@ApiModelProperty(value = "修改人")
	private Long updateBy;
	//修改时间
	@ApiModelProperty(value = "修改时间")
	private Date updateTime;
	//删除标志
	@ApiModelProperty(value = "删除标志")
	private Integer delFlag;
	//开户行
	@ApiModelProperty(value = "开户行")
	private String bank;
	//账号
	@ApiModelProperty(value = "账号")
	private String account;
	//状态
	@ApiModelProperty(value = "状态")
	private Long status;
	//审核人
	@ApiModelProperty(value = "审核人")
	private Long auditId;
	//使用状态(1是0否)
	@ApiModelProperty(value = "使用状态(1是0否)")
	private Integer useStatus;
	//税号
	@ApiModelProperty(value = "税号")
	private String taxNumber;

	//所属部门
	@ApiModelProperty(value = "所属部门")
	private Long belongDept;
	//所属业务员
	@ApiModelProperty(value = "所属业务员")
	private Long belongSalesman;

	//收货地址
	@ApiModelProperty(value = "收货地址")
	private String harvestAddress;
	/** 是否启用信用管理 0：否 1：是 */
	@ApiModelProperty(value = "是否启用信用管理 0：否 1：是")
	private Integer useCredit;
	/** 信用额度 */
	@ApiModelProperty(value = "信用额度")
	private BigDecimal creditLimit;
	/** 信用期限(天) */
	@ApiModelProperty(value = "信用期限(天)")
	private BigDecimal creditPeriod;
	/** 支付类型 */
	@ApiModelProperty(value = "支付类型")
	private Long payType;
	/** 信用期限到期提前几天通知 */
	@ApiModelProperty(value = "信用期限到期提前几天通知")
	private BigDecimal expireInform;
}
